package com.xr.service;

import com.xr.exception.CustomException;
import com.xr.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * 预约设置的业务类
 */
public interface OrderSettingService {

    //1.添加预约设置
    void addBatch(List<OrderSetting> orderSettings)throws CustomException;
    //2.根据年份和月份获取预约设置的数据
    List<Map> getOrderSettingByDate(int year, int month);

    //设置总预约人数
    void update(OrderSetting orderSetting)throws CustomException;


}
